package com.sg.bean;

import com.github.pagehelper.PageInfo;

public class Page {

    private PageInfo pageInfo;

    //动态的链接地址
    private String servletUrl;

    //动态的查询条件；
    private String condition;


    public PageInfo getPageInfo() {
        return pageInfo;
    }

    public void setPageInfo(PageInfo pageInfo) {
        this.pageInfo = pageInfo;
    }

    public String getServletUrl() {
        return servletUrl;
    }

    public void setServletUrl(String servletUrl) {
        this.servletUrl = servletUrl;
    }

    public String getCondition() {
        return condition;
    }

    public void setCondition(String condition) {
        this.condition = condition;
    }

    public Page() {
    }

    public Page(PageInfo pageInfo, String servletUrl, String condition) {
        this.pageInfo = pageInfo;
        this.servletUrl = servletUrl;
        this.condition = condition;
    }
}
